export const dispatchServiceWorkerEvent = (type,registration)=>{
  let event = new CustomEvent(type, {"detail":registration});
  window.dispatchEvent(event)
}
